﻿using System.Web.Mvc;

namespace YuYuKiCms.Framework.Localization
{
    public class RemoteFromDb : RemoteAttribute
    {
        public RemoteFromDb(string action, string controller, string errorMessage) : base(action, controller)
        {
            ErrorMessage = errorMessage;
        }

        #region Overrides of RemoteAttribute

        public override string FormatErrorMessage(string name)
        {
            return base.FormatErrorMessage(name);
        }

        #endregion
    }
}